package com.dragon.modules.yuegou.excel.coupon;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\coupon\\couponApply.xlsx")
public class ApplyWorkbook {
	@ExcelSheet
	@JsonProperty("停车券审核表")
	private List<ApplyRow> apply;

	public static class ApplyRow {

		@JsonProperty("申请商户")
		private String merchantName;

		@JsonProperty("申请时间")
		private LocalDateTime createdTime;

		@JsonProperty("状态")
		private String status;

		@JsonProperty("停车券名称")
		private String title;

		@JsonProperty("有效期")
		private String effectTime;

		@JsonProperty("申请数量")
		private Integer buyNum;

		@JsonProperty("审核数量")
		private Integer checkNum;

		@JsonProperty("审核单价")
		private BigDecimal buyPrice;

		@JsonProperty("审核总金额")
		private BigDecimal totalPrice;

		@JsonProperty("审核人")
		private String checkBy;

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getCheckBy() {
			return checkBy;
		}

		public void setCheckBy(String checkBy) {
			this.checkBy = checkBy;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getEffectTime() {
			return effectTime;
		}

		public void setEffectTime(String effectTime) {
			this.effectTime = effectTime;
		}

		public Integer getBuyNum() {
			return buyNum;

		}

		public void setBuyNum(Integer buyNum) {
			this.buyNum = buyNum;
		}

		public Integer getCheckNum() {
			return checkNum;
		}

		public void setCheckNum(Integer checkNum) {
			this.checkNum = checkNum;
		}

		public BigDecimal getBuyPrice() {
			return buyPrice;
		}

		public void setBuyPrice(BigDecimal buyPrice) {
			this.buyPrice = buyPrice;
		}

		public BigDecimal getTotalPrice() {
			return totalPrice;
		}

		public void setTotalPrice(BigDecimal totalPrice) {
			this.totalPrice = totalPrice;
		}
	}

	public List<ApplyRow> getApply() {
		return apply;
	}

	public void setApply(List<ApplyRow> apply) {
		this.apply = apply;
	}
}
